# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2021年10月13日
"""
import pandas as pd

path = '../数据文件/课件023-024/02字符串.xlsx'

data = pd.read_excel(path)

print(data['日期'].astype('str').str.extract('(\d{4})-(\d{2})-(\d{2})'))

